<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="../skin/style.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
</head>
<body>

{template 'header.html'}

<div class="container">


    <div class="aside">
        {template "left.html","ask"}
    </div>
    
    <div class="main">
    	
        <p><strong>当前位置：</strong><a href="{url("?module=ask")}">会员中心</a><a href="{url("?module=ask&action=center")}">问吧</a>{if $status==-1}全部提问{elseif $status==3}待解决问题{elseif $status==5}已解决问题{elseif $flag==1}投票中的问题{else}全部提问{/if}</p>
        
        
          <div class="head">提问管理</div>
          
    	<table cellpadding="0" cellspacing="1" class="table_list">
          <tr>
            <th>标题</th>
            <th width="50">回答数</th>
            <th width="50">状态</th>
            <th width="50">点击数</th>
            <th width="110">提问时间</th>
            <th width="50">编辑</th>
          </tr>
          
        {loop $infos $info}
        <tr>
            <td>
 {if $info['reward']}<span style="color:orange;"><img src="images/icon_credit.gif" width="12" height="11">{$info[reward]} </span>{/if}
 
        <a href="{url("?module=ask&action=view&id=$info[askid]")}" target="{$target}" title="{$info[title]}">{str_cut($info[title], 72, '..')}</a> <a href="{$CATEGORY[$info[catid]][url]}" style="color:gray">[{$CATEGORY[$info[catid]][catname]}]</a>
            </td>
            <td>{$info[answercount]}</td>
            <td>{if $info[status]==3}<font color=#009900>待解决</font>{elseif $info[status]==5}<font color=#FF9900>已解决</font>{else}<font color=#BCBCBC>已关闭</font>{/if}</td>
            <td>{$info[hits]}</td>
            <td>{date('Y-m-d H:i',$info[addtime])}</td>
            <td>{if $info[status]==3}<a href="{url("?module=ask&action=edit&job=ask&id=$info[askid]")}"><img src="{$M[url]}images/edit.gif" alt="编辑" width="16" height="16" /></a>{else}<img src="{$M[url]}images/edit.gif" width="16" height="16" /></a>{/if}</td>
        </tr>
        {/loop}
        </table>
        <div class="pagination">{$pages}</div>
        
        <div class="head">提示信息</div>
        <table cellpadding="0" cellspacing="1" class="table">
          <tr>
            <td> 为了让您的提问被更多人关注，以获得最佳的回答，您可以追加悬赏
            </td>
          </tr>
        </table>
    </div> 
</div>

{template 'footer.html'}